﻿using System;
namespace CaiBaby.Entity
{
	/// <summary>
	/// 管理员表
	/// </summary>
	[Serializable]
	public partial class MangerInfo
	{
		private int _mid;
		private int _rid=0;
		private string _loginname="";
		private string _password="";
		private string _nickname="";
		private DateTime _createtime= DateTime.Now;
		private DateTime _lastlogtime= Convert.ToDateTime("1990-1-1");
		private string _lastlogip=" ";
		private int _state=0;
		/// <summary>
		/// 管理员ID
		/// </summary>
		public int MId
		{
			set{ _mid=value;}
			get{return _mid;}
		}
		/// <summary>
		/// 管理员角色ID
		/// </summary>
		public int RId
		{
			set{ _rid=value;}
			get{return _rid;}
		}
		/// <summary>
		/// 管理员登录名
		/// </summary>
		public string LoginName
		{
			set{ _loginname=value;}
			get{return _loginname;}
		}
		/// <summary>
		/// 管理员密码
		/// </summary>
		public string PassWord
		{
			set{ _password=value;}
			get{return _password;}
		}
		/// <summary>
		/// 管理员昵称
		/// </summary>
		public string NickName
		{
			set{ _nickname=value;}
			get{return _nickname;}
		}
		/// <summary>
		/// 管理员创建时间
		/// </summary>
		public DateTime CreateTime
		{
			set{ _createtime=value;}
			get{return _createtime;}
		}
		/// <summary>
		/// 管理员最后登录时间
		/// </summary>
		public DateTime LastlogTime
		{
			set{ _lastlogtime=value;}
			get{return _lastlogtime;}
		}
		/// <summary>
		/// 管理员最后登录IP
		/// </summary>
		public string LastlogIp
		{
			set{ _lastlogip=value;}
			get{return _lastlogip;}
		}
		/// <summary>
		/// 帐号状态 0为启用 1为禁用
		/// </summary>
		public int State
		{
			set{ _state=value;}
			get{return _state;}
		}
	}
}

